package com.lf.lexy.controller.bac;

import com.jfinal.plugin.activerecord.Page;
import com.lf.comm.MyConstants;
import com.lf.lexy.controller.BaseController;
import com.lf.lexy.dao.GrabUploadInfDao;
import com.lf.lexy.model.GrabUploadInf;
import com.lf.lexy.model.User;

public class FileManagerController extends BaseController {
	
	
	
	
	public void index(){
		
	}
	
	
	public int pageSize = 16;
	
	
	public void toFileManager(){
		/*User user = (User)getSessionAttr(MyConstants.SESSION_USER);
		if(user==null){
			super.success("请先登录在操作！");
			return;
		}*/
		Page<GrabUploadInf> GrabUploadInfPage = GrabUploadInfDao.me.getGrabUploadInfPage(1, pageSize, null, null, null);
		setAttr("file-list", GrabUploadInfPage);
		render("file_manager.jsp");
	}
	
	
	
	

}
